<style>
html {
    margin: 100px;
    position: absolute;
}
#div2{
  border: 2px dashed gray;
  width :196px;
  height: 60px;
  position: absolute;
  top: 0;
}

#div1 {
  background: yellow;
  width :200px;
  -webkit-transform: rotate(20deg);
  -webkit-transform-origin: center 140px;
}
</style>
<div id="div1">
  Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aperiam officia.
</div>
<div id="div2">
</div>